package sctu.edu.java.year2016.team07.nieying.practice.dibazhang.lianxiwu;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * Created by Administrator on 2016/5/26 0026.
 */
public class Employee {
     private String name;
     private double salary;
     private Date birthday;
     public String getName(){
         return name;
     }
    public void setName(String name){
        this.name=name;
    }
    public double getSalary(){
        return salary;
    }
    public void setSalary(double salary){
        this.salary=salary;
    }
    public Date getBirthday(){
        return birthday;
    }
    public void setBirthday(Date birthday){
        this.birthday=birthday;
    }
    void display(){
        System.out.printf("这是员工");
    }
    void like(){
        System.out.println("员工");
    }

}
